package com.wteam.framework.modules.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wteam.framework.common.vo.ResultMessage;
import com.wteam.framework.modules.community.dto.SdRequestImgDto;
import com.wteam.framework.modules.community.dto.SdRequestTxtDto;
import com.wteam.framework.modules.community.entity.SdModel;


/**
 * (SdModel)表服务接口
 *
 * @author doncic
 * @since 2023-07-14 16:58:39
 */
public interface SdModelService extends IService<SdModel> {

    ResultMessage getAllModel();

    ResultMessage getModelDetails(String id);

    ResultMessage showModelByMember(Long id);

    ResultMessage generateTxt2Img(Long id, SdRequestTxtDto sdRequestTxtDto);

    ResultMessage generateImg2Img(SdRequestImgDto sdRequestImgDto);

    ResultMessage uploadModel(SdModel sdModel);

    ResultMessage deleteModel(Long id);
}
